Global Index
HTML5 JS API Index > Media Tutorials & Specs

HTMLSourceElement

Extends HTMLElement.

The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own.

Properties
DOMString
src
The IDL attributes src and type must reflect the respective content attributes of the same name.
DOMString
type
The IDL attributes src and type must reflect the respective content attributes of the same name.